<template>
    <div style="background: #f9f9f9;">
        <div v-if="Gujia">
            <van-skeleton title :row="33" />
        </div>
        <div v-else>
            <div>
                <van-nav-bar title="首页">
                    <template #right>北京</template>
                </van-nav-bar>
            </div>
            <div>
                <search></search>
            </div>
            <div style="margin-top: 20px;">
                <lun-bo></lun-bo>
            </div>
            <div>
                <gong-ge></gong-ge>
            </div>
            <div>
                <pu-bu></pu-bu>
            </div>
        </div>
    </div>

</template>

<script setup>
import search from '@/components/search.vue';
import { ref } from 'vue';
import LunBo from '@/components/LunBo.vue';
import GongGe from '@/components/GongGe.vue';
import PuBu from '@/components/PuBu.vue';
const Gujia = ref(true)
setInterval(() => {
    Gujia.value = false
}, 1000)


</script>

<style lang="scss" scoped></style>